import requests
import app


class LoginAPI:
    def __init__(self):
        self.url = app.BASE_URL+app.LOGIN_URL
    def login(self,login_data):
        return requests.post(url=self.url,json=login_data)

